<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        let name = "李四"
        let age = 10
        let obj = {
            name,age
        }
        let per = {}
        Object.defineProperty(obj,"ma",{
            value:"默认值",
            writable:true,
            configurable:true
        })
        obj.ma = 11111
        console.log(obj);
        console.log(obj.name);
        console.log(per);
    </script>
</body>
</html>